package com.leenmvc.core.security.service.core;

import com.leenmvc.core.base.BaseService;
import com.leenmvc.core.dao.communal.Wrapper;
import com.leenmvc.core.security.entity.core.SysApiResult;
import com.leenmvc.core.base.result.PageData;
import org.springframework.stereotype.Service;

/**
 * @Author: JohnCoding
 * @Description:
 * @date: 2020/3/6 11:03
 */
@Service
public class SysApiResultService extends BaseService<SysApiResult> {

    @Override
    public <T> PageData<T> getPage(Wrapper wrapper) {
        wrapper.orderBy("createDate","desc");
        return super.getPage(wrapper);
    }
}
